MUSIC VOLUME
This command will return an integer value representing the volume at which the music is playing.
Return Integer=MUSIC VOLUME(Music Number)
Music Number
Integer
The music number
This command will return an integer value representing the volume at which the music is playing
The default value is 100, as a percentage of the standard volume. A value of 50 means the music is playing at half the normal volume.
cls
load music "Dark Basic Professional\Media\Music\mp3\music space.mp3",1
play music 1
print "music volume ",music volume(1)
wait 1000*8
set music volume 1,200
print "music volume ",music volume(1)
do
loop
stop music 1
end
MUSIC Commands Menu
Index